﻿namespace cludg.Services.Security
{
    using Domain.Users;

    public interface IMembership
    {
        User Anonymouse { get; }
        User GetUser(string userId);
        User GetUserByName(string userName);

        string ValidateUser(Principal principal);
    }
}
